package com.zwz.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;

@Data
public class ContactProfile {
    @JsonProperty("contact_id")
    private String contactUuid;

    @JsonProperty("contactName")
    private String name;

    @JsonProperty("contact_label")
    private String displayLabel;

    @JsonProperty("contactType")
    private Integer contactCategory;

    @JsonProperty("contactRegion")
    private String location;

    @JsonProperty("contactChannelList")
    private List<ContactChannel> channels;

    // 安全处理可能缺失的字段
    @JsonProperty(value = "position", required = false)
    private String jobTitle;

    @JsonProperty("detect_time")
    private String lastDetectionDate;

    // 其他字段处理...
}